<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="https://cdn.jsdelivr.net/npm/vue@2.7.10/dist/vue.js"></script>
    <title>Document</title>
</head>
<body>
    <div id="app">
    最后展示出来的信息：<input type="text" :value="inputValues" disabled/><hr>
    v-model 你输入的信息：<input type="text" v-model="inputValues"/>
    v-model 双向绑定：<input type="text" v-model="inputValues" disabled/><hr>
    单选框v-model：<input type="radio" v-model="check" >
    单选框v-model：<input type="radio" v-model="check" >
    <!-- <button v-on:click="a">重新输入</button> -->
    复选框v-model：<input type="checkbox" v-model="checks" >
    复选框v-model：<input type="checkbox" v-model="checks" >
    <!--  -->
    下拉框v-model：<select v-model="selects">
        <option>A</option>
        <option>B</option>
        <option>C</option>
        </select>
    下拉框v-model：<select v-model="selects">
            <option>A</option>
            <option>B</option>
            <option>C</option>
            </select>
    </div>
    <script>
        const vm = new Vue({
          el:"#app",
          data:{
             inputValues:"",
             check:false,
             checks:false,
             selects:'C'
          },
          methods: {
            // a(e){
            //     this.check=!this.check;
            // }
          },
        });
      </script>
</body>
</html>